#ifdef HERZELEID_DESKTOP
 #if _MSC_VER
  #pragma once
 #endif

 #ifndef __HERZELEID_VISIBILITYCHANGEDEVENTARGS_INCLUDED__
  #define __HERZELEID_VISIBILITYCHANGEDEVENTARGS_INCLUDED__
  #include "HerzeleidPrecompiled.hxx"
  #include "HerzeleidEventArgsBase.hxx"
  #include "HerzeleidUICore.hxx"

// Contains the arguments returned by the event fired when a CoreWindow instance's visibility changes.
HerzeleidUICoreNamespaceBegin class VisibilityChangedEventArgs : public EventArgsBase
{
protected:
	
	// Members

	Bool m_bVisible;								// A value that indicates whether the window is visible or not.

public:
	// Construct event object.
	VisibilityChangedEventArgs( 
		_In_ BoolConstRef Visible = true			// Indicates whether the CoreWindow is currely visible.
		);

	// Properties
	
	DeclGetPropOnly( BoolConst, Visible);			// Gets the value that indicates whether the window is visible or not.
	DeclConstTypedGetterFor( BoolConst, Visible )	// Gets the value that indicates whether the window is visible or not.
	{
		return( m_bVisible );
	}

} HerzeleidUICoreNamespaceEnd; 

 #endif // !HERZELEID_VISIBILITYCHANGEDEVENTARGS_INCLUDED__
#endif // !HERZELEID_DESKTOP
